um\core\Access D

Total Complexity 414
Dependencies 1
Dependents 1
Total lines 2,127
Lines of code 1,297
Logical lines of code 820
Comment lines 462
Methods 40
Properties 4

Methods 40

Method Rating Maintainability Complexity Lines of code
get_post_privacy_settings()
D
31 37 107
exclude_posts_array()
D
26
33 160
filter_protected_posts()
D
35 36 75
um_access_check_global_settings()
C
36 25 73
restrict_blocks()
C
38 25 69
is_restricted_term()
B
39 22 66
is_restricted()
B
43 18 48
exclude_terms_array()
B
40 16 59
filter_menu()
A
46 16 39
um_access_check_individual_term_settings()
A
44 15 40
exclude_posts()
A
49 14 28
get_comment_count()
A
41 10 63
template_redirect()
A
50 12 28
custom_count_posts_handler()
A
45 11 38
exclude_posts_comments()
A
52 10 25
filter_restricted_post_content()
A
52 10 23
filter_post_thumbnail()
A
54 9 22
get_available_comments_post_types()
A
48 8 34
filter_restricted_post_title()
S
54 7 23
exclude_posts_where()
S
56 7 17
custom_comments_count_handler()
S
54 6 21
filter_restricted_post_excerpt()
S
58 6 16
maybe_replace_nav_menu_title()
S
57 5 18
maybe_replace_title()
S
57 5 18
disable_comments_open()
S
59 5 16
user_can()
S
61 5 12
disable_comments_open_number()
S
59 4 16
exclude_hidden_terms_query()
S
64 5 9
exclude_navigation_posts()
S
60 4 14
exclude_restricted_posts_archives_widget()
S
61 4 12
exclude_restricted_posts_widget()
S
62 4 11
filter_attachment()
S
70 4 6
exclude_posts_comments_feed()
S
62 3 11
disable_restriction_pre_queries()
S
53 2 23
check_access()
S
66 3 10
exclude_restricted_pages()
S
64 3 10
__construct()
S
52 1 23
set_referer()
S
67 2 8
um_custom_restriction()
S
79 1 3
taxonomy_message()
S
81 1 3